package ludichat.cobbreeding.net

import com.cobblemon.mod.common.api.net.ClientNetworkPacketHandler
import ludichat.cobbreeding.CobbreedingClient
import net.minecraft.client.Minecraft

object IncubatorAbilityPacketHandler: ClientNetworkPacketHandler<IncubatorAbilityPacket> {
    override fun handle(packet: IncubatorAbilityPacket, client: Minecraft) {
        CobbreedingClient.isIncubator = packet.isIncubating
    }
}